package com.mycompany.inventory.pojo;

public class PaymentTerm {	

	private String Id;
	private String name;	
	private String remark;
	private int numberOfDays;
	
	public PaymentTerm(String id, String name, String remark, int numberOfDays) {		
		Id = id;
		this.name = name;
		this.remark = remark;
		this.numberOfDays = numberOfDays;
	}
	
	public PaymentTerm() {		
		Id = "";
		this.name = "";
		this.remark = "";
		this.numberOfDays = 0;
	}
	
	public void clear(){
		Id = "";
		this.name = "";
		this.remark = "";
		this.numberOfDays = 0;
	}
	
	public void copyValue(PaymentTerm pay){
		Id = pay.getId();
		this.name = pay.getName();
		this.remark = pay.getRemark();
		this.numberOfDays = pay.getNumberOfDays();
	}

	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;		
	}

	public int getNumberOfDays() {
		return numberOfDays;
	}

	public void setNumberOfDays(int numberOfDays) {
		this.numberOfDays = numberOfDays;
	}
	
	public String toString(){
		return name;
	}
	
	

	
}
